package com.baby.security.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2022-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 用户ID
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    private String userName;

    private String password;

    private String loginName;

    /**
     * 性别
     */
    private Integer gender;

    private String phone;

    private String address;

    /**
     * 部门-组织ID
     */
    private Integer organizationId;

    /**
     * 用户状态-字典吗USER_STATE
     */
    private Boolean state;

    /**
     * 邮箱地址
     */
    private String email;

    /**
     * 创建者
     */
    private Integer createUserId;

    private Date modifyDate;

    private Date createDate;

    /**
     * 注释 
     */
    private String remark;


}
